<?php

namespace App\Models;

use Illuminate\Database\Eloquent\SoftDeletes;

class Shop extends BaseModel
{
    use SoftDeletes;

    public $timestamps = true;
    public $table = 'shop';
    static $unguarded = true;

    const CREATED_AT = 'create_time';
    const UPDATED_AT = 'update_time';

    public function freshTimestamp()
    {
        return time();
    }

    public function fromDateTime($value)
    {
        return $value;
    }

}